home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
packet
/
praf205e
/
prafeng.doc
< prev
next >
Wrap
Text File
|
1995-07-18
|
18KB
|
484 lines
Praffic with TVision
Release 2.0 DOS and DPMI16
Copyright 1992ñ1995 Savegnago Marco IW3FQG
>>> PRAFFIC IS NOT A TERMINAL PROGRAM <<<
Some introduction
-----------------
This program was made for my own hobby use only. Excuse me for the brutal
form in which this text was written but I'm not a good writer also in
italian language... My teachers always say that I was a good student only
where I was interested.
This document will be translated from in a correct english as soon as possible!
Sorry!
What is Praffic?
----------------
Praffic is an useful program to analyze the traffic of a packet channel
in union to a common TNC running in KISS or SMACK mode.
The program show the details of the communications in simple manner and using
an user-friendly interface (Turbo Vision Vision 2.0X Borland International 1994).
The rest of the program is based on my own developed library (PKLib), that I
plain (in near or far future) to distribute freely in binary form to who
is interested to develop program for digital communication with NOT COMMERCIAL
purposes.
Why Praffic?
------------
Praffic, his idea and his kernel is the natural evolution of the batch mode
program PraK that was used by me for study the behaviour of the broadcasts
of packet independently from the kind of the information in air comes.
The reason that has pushed me to write an implementation of AX25 (and then some
program) was due to the fact that the packet radio have annoyed me for its high
inefficency where (ab)used as near me.
So, or I invented me anything or I would have been constrained to devote me to
other (better) hobbies.
But, because that the passion (that it doesn't ever die!) and to some some
doubts about of the operation to regime of chaos (a few like our (medieval)
city with the 20th century traffic) or to the new technologies and to the actual
dimensions of the bulk of data trasmitted, I have thought to write a program
that helps to analyze the actual state of the trasmission and that this is
serviceable from all who are interested also if not necessarily experienced of
protocols but that they can to bring always good ideas.
Finally the name... it doesn't like not even to me, so if anybody invents me
one of it of interesting I have arranged to change it.
And to give to him the worth!
The news of this release
------------------------
- DPMI Version
- Management of the external MBBIOS or compatible
- Some other minor improvement
The characteristics of Praffic
------------------------------
The fundamental characteristics of the program then are the followings:
- Visualization of the traffic with TF-like presentation or Praffic completely
configurable mode with full capability of filtering and showing mode of
any aspect of AX25.
- Function to QsoSpy that allows to filter and isolate the traffic of
an individual comunication between two or more station a window with
one to one or one to many and vice versa.
- Capability (in the limits of the available memory) to open more concurrent
windows to analyze the same frame from points of different sight.
- Continuosly showing of the type of frame with the capability of inclusion or
exclusion of some or of individual analysis.
- Function MHeard to schedule of listen of the first/ last and preceding frame
the total of the transferred byte, the number and the type of each frame heard
from each individual listened to station.
- Function to Inspect on distinctive nominal or type of frame with configurable
actions.
- Function of FrameWatch on a datum frame with capability of establish
the threshold of trigger and the action to undertake a tantum or
continually on its receiption.
- Visualization of the information in a object oriented, event-driven enviroment
easy from use better if in union to a mouse, and with a EGA/VGA in
resolution of 43/ 50 lines.
- Use of a common working TNC in KISS or SMACK connected via serial COM
(full user configurable).
- Capability of use the internal driver or an external Compatible MBBIOS.
- Operation:
- the DOS release run on a PC with MSDOS 3.3 or compatible
with any card video (Hercules, CGA, EGA/ VGA), a compatible MS mouse
and 512Kb of RAM memory.
- the DPMI release run on least an AT 80286 with 1MB of extended RAM and
and can use all the avaliable memory breaking the 640Kb memory limitation.
The release of Praffic
----------------------
If in the heading of the program to side to the number of release the label
appears ALPHA, BETA or GAMMA it means that the program would can (and
surely have!) be not still completely sure in operation.
DPMI16????
----------
From the release 2.0 the program available compiled also in DPMI Protected
Mode of the DOS Externder of Borland C+ 4.02.
The use of the Dos Extender consents of eliminate the limitation of the
640KB of maximum memory addressable from the real mode of the microprocessor
and use the full free memory in the system.
For this reason the program needs of the RTM.EXE and DPMI16BI.OVL (freely
redistribuible) that they must be present in the same directory or in the PATH
of the system.
Instead of this DPMI server you are free of use any other DPMI v0.9 compatible
extender (as Windows or OS/2).
The options and the operation of the program are the equivalent to that real
DOS version but for varying the system configuration you can use the following
system setting:
The variable of available surrounding are the followings:
EXTLEAVE [nnnn] Force the number of KB of extended memory to leave free
(default 64k)
EXTMAX [nnnn] Force the maximum number of KB of extended memory to allocate.
The default allocate all the extended memory.
EXTMIN [nnnn] Force the mininum value of extended memory need to run
REALLEAVE [nnnn] Force the number of KB of real memory (< of 1MB) from leave
free (default 64k)
REALMAX [nnnn] Forces the maximum number of KB of conventional memory to
allocate. The default allocate all the conventional memory.
REALMIN [nnnn] Force the minimin value of real memory need to run.
Note: [nnnn] can be a decimal number or, if preceded from the 'x' character
is interpreted as hex:
1000 [xABCD]
ATTENTION!!! The above variables has effect using the furnished DPMI Server
Borland. If you are using Windows or OS/2 DPMI server refer to the relative
manuals.
Why still the DOS???
--------------------
In the actual state of the operating systems the DOS is the unique that
still allows to have good throughputs in terminus of speed of visualization
and of management of the serial on system not particularly gifted of dedicated
hardware or portable computer.
I have thought much to a different way of represent the information of a
packet radio channel (with charts, imagery designs boh!) and after different
proofs (exist also a prototype that run under Windows) I have thought to
complete a version the could run on my ATtila.
If anybody has good idea or anything other I am always here ready to listen to
it!!
The base of development of the program is the PKLib library with which I hope
to complete the transport of the next release of the program in an other
operating system.
What do you use this program for?
---------------------------------
Praffic basically wants to try understand with the help of any experienced or
inexperienced observer, what don't function in the actual and diffuse protocol
of digital communication and try to be an easy system to use for alter and
to perform measures on the proofs and experiments.
The heart of Praffic in fact, is based on the classes of PKLib 2.0 (Copyright
(c) 1991ñ1995 Savegnago Marco), a collection of written objects, rewritten
and distorted more times from the subscribed in the intent of realize a series
of components quickly reusable for the creation of digital-comunication
application.
Additionally Praffic, can be used evenly like tool of filter and for deciphers
from the SWL stations.
How to use Praffic
------------------
The program functions with a common TNC running in KISS or SMACK mode.
You can set the TNC to this mode both internally of the program (before opening
comunication with the device) or at startup.
If there is some problem managing the TNC the program popup with a Dialog Box
with the warning "Kiss Timeout."
If this happen try to restart and reset TNC in KISS mode.
Once started the program presents itself in the classical Turbo Vision
enviroment where is possibile to interact with mouse or keyboard.
The principal functions of the program are accessible from the mail menu View:
- Monitor
- QsoSpy
- Mheard
- Inspect
- FrameWatch
> MONITOR<
The view MONITOR consents to monitor the AX25 packet traffic (Level 2 and
FRMR, Netrom 3/ 4 and Broadcast) in manner completely configurable both
for what to show and how to display.
There is 2 kind of monitor header format: TheFirmware like or original Praffic.
Using the options dialogs is possibile to configure any part of the frame
to be displayed.
> QSOSPY<
The QsoSpy view consents to monitor a conversation among two stations or groups
of stations. Through the wildcard applied the callsign is possible monitor
groups of callsigns:
IW3FQG->* = IW3FQG-0 toward all and vice versa.
*-> IW3FQG = all toward IW3FQG-0 and vice versa.
IW3F*-> I3KUH= Any call that coincides to IW3F* toward I3KUH
Like for the monitor also this view is completely configurable.
> MHEARD<
The Mheard view consents to display the strip of the stations you listen to
from the beginning of the execution of the program with full info about the
number of frame received,
For the complete detail of the frame trasmitted from the station use the
use an inspector.
> INSPECTOR<
The Inspector view displays all the relative information in the detail
to a call listened to in the strip of Mheard.
The available data are:
"Call" -> Callsign listened to
" 1st" -> Time of the first listened frame
"Prev" -> Time of the previous listened frame
"Last" -> Time of the last listened frame
"The#" -> Number of frames The listened to
"The" -> Numbers of contained bytes in frame The listened to
"RR#" -> Number of RR frame listened
"REJ#" -> Number of REJ frame listened
"RNR#" -> Number of RNR frame listened
"SREJ#" -> Number of SREJ frame listened (*)
"UI#" -> Number of UI frame listened
"UI" -> Numbers of bytes in UI frame listened
"DM#" -> Number of DM frame listened
"SABM#" -> Number of SABM frame listened
"DISC#" -> Number of DISC frame listened
"UA#" -> Number of UA frame listened
"FRMR#" -> Number of FRMR frame listened
"TOTAL" -> Number of total frames of listened
(*) Ths SREJ frame is not available on the standard AX25 L2.
> FRAMEWATCH<
A FrameWatch consents of establish that on the receipt of a datum frame
(of one or more call, or on the content of a data) the program undertakes a
definite action of warning or message or of monitor.
The available actions in this moment are beyond to a simple acoustic and visual
message, the appearance of a message in the log, the activation of a SpyView,
the activation or disattivazione linked of an other framewatch etc..
The threshold of intervention adjustable is on the number of received frame.
The FrameWatch can be modified runtime or activated/ deactivated by hotkey.
Integrate SetKiss
-----------------
With version 1.1 I've integrated the SetKiss function directly on the Main
menu of Praffic.
The selection dialog allow to use the 4 main type of configuration string
for the most diffuse TNC type:
TAPR TNC2 "KISS ON\rRESTART\ r"
TF 2.X "\ x11\ x18\ x1b@ K\ r"
AEA "CONMODE TRANS ON\rPP ON\rRAW OFF\rHP ON\r KISS ON \r HOST\r"
KANTRONICS 2.X "KISSMODE ON\rRESET\r"
KANTRONICS 3.X "INTFACE KISS\rRESET\r"
The fifth selection consents of send the sequence for exit from kiss mode
"\xC0\xFF\xC0" while the sixth selection allows to send a customizable
command.
The interface used in Praffic with TVision
------------------------------------------
The interface used in Praffic with TVision is the standard Borland Turbo Vision
interface available in both C++ and Turbo Pascal languages.
It acts as the most modern graphical user interface in character mode, offering
good performace and a similar programming enviroment available in Windows or
OS/2 operating system.
The mouse in Praffic
--------------------
The mouse in Praffic is very important. I this it is essential in many cases,
where for example some function are activable only using it.
Remember to use the right click of the mouse on every view to see the option
available for that view.
The options of command line of Praffic
--------------------------------------
The options of command line consent of modify the default settings of the
program for the serial / video or other thing:
/ Cc- Set the communication port to use 1|2|3|4
eg: / C2= COM2
/ D- Search for the presence of DesqView and if so force the use of its
virtual screen pointer
/ K[T|H|T|O|K]- Send on execute the KISS to the TNC using the parameter
compatible with:
T= TAPR TNC2 or clones with eprom 1.xx
H= TAPR TNC2 or clones with eprom HOST TheFirmware
T= TNC AEA
O= TNC Kantronics with eprom 2.XX
K= TNC Kantronics with eprom 3.XX
/ The- Specify the interrupt to use
/ L Send on shutdown the standard leave KISS string to TNC.
/ M[I|M]- Specific if use the driver I)NTERNAL or M)BBIOS
/ N- Avoid snow checking on CGA
/ P- Specify the address of com to use
/ Ss- Set the com speed among one of the followings:
(3)00 (1)200 (2)400 (4)800 (9)600 192(0)0 3(8)400 5(7)600
11(5)200 baud eg: / S0= 19200
/ T[C|I]- Tell to the program if use the COM parameter or the ADDRESS parameter
for COM port to use (only for the internal driver).
/?| H- Show this text
The configuration of Praffic
----------------------------
The program was written to be used intelligently from persons with a certain
culture in field of TNC, addresses and interrupt of seriali, custom
and configuration of driver which MBBIOS etc.
Certain is that the program NOT E' WRITTEN STATE To God PROOF IDIOT also if
nowadays almost all the commercial programs are!
With the internal driver the program has a predefined the following values of
COM:
COM1-> Address= 0x3F8, Irq= 4
COM2-> Address= 0x2F8, Irq= 3
COM3-> Address= 0x3E8, Irq= 4
COM4-> Address= 0x2E8, Irq= 3
Beyond to COM4 the values are repeated so COM5 are as COM1 end so on...
For the external driver see its documentation.
The Praffic author
------------------
This text is not written with the intent of furnish a manual detailed for the
minus experienced users. The program alone is one tool for effect an analysis
of the packet radio traffic and like such go advised and used!
The program comes furnished without no warranty and the author can decide
to alter it any time or drop the free distibution in each moment.
If anybody finds any error or has any good idea or hint (not personal
adaptations pse!) can send to me a letter or WRITTEN message, NOT to words
(radio, telephone, intercom.).
My address is:
Marco Savegnago
Stradella Ospedale 87
36100 Vicenza
Italy
In Packet-Radio:
IW3FQG@I3KUH.IVEN.ITA.EU
In Internet:
mc2365@mclink.it
Copyright of Praffic
--------------------
The Praffic program and his components are freely copyable and dispensable in
any form only for amateur radio purposes and from which however could not draw
aside profit.
Is also forbidden to use the program for demonstration in commercial private
and public businnes, institutional, towns, regional, statal and governments.
Any type of commercial exploitation not expressly authorized from the author is
to consider forbidden!
No responsability is attributable to the author if the program during
its execution procures blocks that could cause the loss of data or malfunctions
of the computer.
Copyright (c) 1995 Savegnago Marco. All right reserved.
Personal considerations on the program
--------------------------------------
To many a program of the kind not nothing or serve to nothing but other
that they from the first distribution have written me or phoned they have
appreciated it and they have suggested me different ideas.
Many things that I have been suggested like the simulation of traffic to test
a link or the random frame generation, or the packet cracking function is
included in my personal version of the program.
I don't believe that I distribute it freely.
This for prevent that some guy to act some thing ... in good or bad faith
could misuse and disturb, without the practical to be discovered.
The distributed copy freely doesn't contain all the available functions of the
original for avoid of be the unintentional cause of troubles.
Possible additions to the next releases
---------------------------------------
- Management of HDLC modem connected directly to the COM
(BAYCOM like) to see all really, flags txdelay axdelay fcs error...
- Simulation of traffic!!
- Random Generation of frame
- Terminal
- Decoding of other protocols
- Multiport
Fonts and bibliographic references
---------------------------------
- Implementation of AX25 in the NOS program of KA9Q
- Implementation of AX25 of the TheFirmware program of the group German
NORTH><LINK
- Tanenbaum, Andrew S., "Networks Computer" pp. 288-292.
Prentice-Hall 1981.
- X.25 MADE EASY Nicolas M.Thrope, Derek Ross
Prentice-Hall 1992.